package com.test.map.HTTP;



public class OkHttpUtil
{
    private static OKHttp singleton;
    //非常有必要，要不此类还是可以被new，但是无法避免反射，好恶心
    private OkHttpUtil(){

    }
    public static OKHttp getInstance() {
        if (singleton == null)
        {
            synchronized (OkHttpUtil.class)
            {
                if (singleton == null)
                {
                    singleton = new OKHttp();
                }
            }
        }
        return singleton;
    }
}
